package com.yuntsg.ruiijn.databse_search.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@TableName(value = "folder_type")
@Data
@Accessors(chain = true)
public class FolderType {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String folderName;

    private Integer uId;

    private Integer rId;

    private Integer type;

    private Integer mainId;


    @TableField(value = "list_id")
    private List<Integer> listId;

    @TableField(exist = false)
    private long num;
}
